From 44ffb080b37aa6245a4ea346cebec3156303a90f Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 23 Oct 2008 15:38:52 +0100 Subject: [PATCH] x86: Enable spinlock debugging earlier during boot. Signed-off-by: Keir Fraser --- xen/arch/x86/setup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 784a833aca..4bdae0fcd1 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -969,6 +969,7 @@ void __init __start_xen(unsigned long mbi_p) serial_init_postirq(); BUG_ON(!local_irq_is_enabled()); + spin_debug_enable(); for_each_present_cpu ( i ) { @@ -1059,8 +1060,6 @@ void __init __start_xen(unsigned long mbi_p) cmdline) != 0) panic("Could not set up DOM0 guest OS\n"); - spin_debug_enable(); - /* Scrub RAM that is still free and so may go to an unprivileged domain. */ scrub_heap_pages(); -- 2.30.2